package Test;

import DB.ConnectionDB;
import org.junit.Test;
import static org.junit.Assert.fail;

public class ConnectionDBTest {

    @Test
    public void testGetInstance() throws Exception {

        ConnectionDB dbConn = ConnectionDB.getInstance();

        if(dbConn != null) {
            System.out.println("Connecting to database - SUCCESS");
        }
        else {
            fail("Failed connecting to the database");
        }
    }
}
